package com.scud.common.constants;

/**
 * @author vermouth
 */
public class RedisConstants {

    //验证码过期时间
    public static final Long CODE_TIME_OUT = 5L;
    //验证码前缀key
    public static final String CODE = "scud:code:";
    //用户信息前缀key
    public static final String USER = "scud:user:";
    //商品sku库存信息前缀key
    public static final String SKU = "scud:sku:stock:";
    //商品sku锁前缀，后面加对应的skuId
    public static final String LOCK_SKU_PREFIX = "scud:lock:sku:";
    public static final long USER_TIME_OUT = 30L;
    public static final String MANAGE_USER = "scud:manage:user:";
}
